solution to the heat equation